#pragma once
#include "Service.h"
#include <QTreeWidgetItem>
class CServiceGetDataSetDirectory :
    public CService
{
public:
    CServiceGetDataSetDirectory(void);
    virtual ~CServiceGetDataSetDirectory(void);
    BOOL OnGetDataSetDirectory(const char * szDataSetRef, CMTree & tree);
    void SetDataSetItem(QTreeWidgetItem *treeItem);
public:
    void ServiceName();
private:
    void PrintTree(CMTree & tree);
    void PrintVar(CAcsiVar & var);
    void PrintType(int type, int size);
    QTreeWidgetItem *m_datasetItem;
};
